package com.cyandpos.pad.cateringformat.opentable;

import com.cyandpos.pad.posdata.DinnerTable;
import com.cyandpos.pad.posdata.TableReserve;

import java.util.List;

/**
 * Created by xin on 2021/8/30
 * desc:
 */
public interface ImplViewFragmentOpenTable {
    void showProgress(String requestName);

    void dismissProgress();

    /**
     *  刷新餐桌状态
     * @param tableList 餐桌列表
     */
    void refreshDinnerTableInfo(List<DinnerTable> tableList);

    /**
     * 预定信息详情
     * @param tableReserveList
     */
    void showDinnerTableReserveInfo(List<TableReserve> tableReserveList);

    /**
     * 更新餐桌信状态
     *
     */
    void clearDinnerTableSuccess();

    void requestNetFail(String msg);


}
